import { HttpBuilder } from "mvx-foundation";
import { WXHttp } from "./WXHttp";
export function WXHttpBuilderCreator(enableRealtimeLog = false) {
    return baseUrl => {
        let builder = new class extends HttpBuilder {
            build() {
                return new WXHttp(this, enableRealtimeLog);
            }
        };
        return builder.setBaseUrl(baseUrl);
    };
}
